package threadstart;

/**
 * Created by 5406160@qq.com on LiBoWen 李博闻.
 *
 * @ClassName : ThreadDemo
 * @Author : 54061
 * @Date: 2022/2/15 11:06
 */
public class ThreadDemo {
    public static void main(String[] args) {
        //创建Thread的子类对象
        MyThread mt = new MyThread();
        //启动线程
        mt.start();
        for (int i = 0; i < 100; i++){
            System.out.println("主线程执行:"+i);
        }

    }
}
